package it.lorenz.server.fk.business;

import it.lorenz.server.fk.business.ex.AbstractBusinessException;
import it.lorenz.server.fk.business.ex.ValidationException;

public interface IService {

    public void doFormalValidation(AbstractDTO dto) throws ValidationException;

    public void doFunctionalValidation(AbstractDTO dto)
       throws ValidationException;

    public AbstractDTO processDTOIn(AbstractDTO dto);

    public AbstractDTO callBusinessService(AbstractDTO dto)
       throws AbstractBusinessException;

    public AbstractDTO processDTOOut(AbstractDTO dto);
}